package com.sali.b_design_pattern.g_singleton_pattern.lesson_singleton.b_lazy.c_thread_unsafe.test;

import com.sali.b_design_pattern.g_singleton_pattern.lesson_singleton.b_lazy.c_thread_unsafe.LazySingleton;

/**
 * @description:
 * @date: 2023/3/19 12:55.
 * @version: 1.0
 */
public class LazySingletonStarter {

    public static void main(String[] args) {
        LazySingleton lazySingleton1 = LazySingleton.getInstance();
        LazySingleton lazySingleton2 = LazySingleton.getInstance();
        System.out.println(lazySingleton1 == lazySingleton2);
    }

}
